The Rewriting Calculus as a Semantics of ELAN

نویسندگان

  • Horatiu Cirstea
  • Claude Kirchner
چکیده

Rewriting techniques are now recognized as a fundamental concept in many areas of computer science including mechanized theorem proving and operational semantics of programming languages. From a conceptual as well as operational point of view, the notion of rewrite rule application is crucial. It leads immediately to the concept of rewriting strategy which fully defines the way several rules are applied. The combined concepts of rewrite rules and strategies are the first class objects of the programming language ELAN [BKK98]. In this language, the actions to be performed are described using first-order conditional rewrite rules and the control is itself specified using strategies that can be non-deterministic. The use of these strategies is permitted directly in the rules via where statements. This provides a very natural way to describe e.g. theorem provers, constraint solvers, knowledge based reasoning techniques. Moreover such specifications can be executed very efficiently via new compilation techniques implemented in the ELAN compiler [MK98,Vit96]. In the first part of our talk we will present these concepts and provide running examples of their use. Making the rule application an explicit object is the first step in the elaboration of the recently introduced rewriting calculus [CK98]. The ρ-calculus, as we call it, provides abstraction through the rewriting arrow and explicit rule application. It also embeds the notion of sets of results to deal with non-deterministic computations. Furthermore, the calculus is parameterized by the matching algorithm used in order to fire the rules. In its simplest instance, ρ-calculus embeds standard first-order rewriting as well as λ-calculus. In the second part of the talk, we will introduce the ρ-calculus and show how it provides a simple semantics for ELAN programs.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Combining Higher-Order and First-Order Computation Using ρ-calculus: Towards a semantics of ELAN

The ρ-calculus permits to express in a uniform and simple way firstorder rewriting, λ-calculus and non-deterministic computations as well as their combination. In this paper, we present the main components of the ρ-calculus and we give a full first-order presentation of this rewriting calculus using an explicit substitution setting, called ρσ, that generalizes the λσ-calculus. The basic propert...

متن کامل

-calculus Its Syntax and Basic Properties

calculus is a new calculus that integrates in a uniform and simple settings rst-order rewriting,-calculus and non-deterministic computations. This paper describes the calculus from its syntax to its basic properties in the untyped case. We show how it embeds rst-order rewriting and-calculus. Finally we shows how-calculus can be used to give an operational semantics to the rewrite based language...

متن کامل

Rewriting and Multisets in ρ-calculus and ELAN

The ρ-calculus is a new calculus that integrates in a uniform and simple setting first-order rewriting, λ-calculus and non-deterministic computations. The main design concept of the ρ-calculus is to make all the basic ingredients of rewriting explicit objects, in particular the notions of rule application and multisets of results. This paper describes the calculus from its syntax to its basic p...

متن کامل

The rewriting calculus as a semantics to strategy application. Application to ELAN

Objects like rewrite rules and strategies are of very general use and interest in computer science. They are especially useful when modeling inference based systems like logical frameworks, theorem provers, constraint solvers, expert systems, transition systems. In order to formalize the concept of rule application, we have designed a calculus of explicit rule application called the rewritingor...

متن کامل

ELAN from a rewriting logic point of view

ELAN implements computational systems, a concept that combines two first class entities: rewrite rules and rewriting strategies. ELAN can be used either as a logical framework or to describe and execute deterministic as well as non-deterministic rule based processes. With the general goal to make precise a rewriting logic based semantics of ELAN, this paper has three contributions: a presentati...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1998